package exam.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * id        | bigint(18)   | NO   | PRI | NULL    | auto_increment |
 * | parent_id | bigint(20)   | YES  |     | NULL    |                |
 * | name      | varchar(100) | YES  |     | NULL    |                |
 * | path      | varchar(255) | YES  |     | NULL    |                |
 * | perms     | varchar(255) | YES  |     | NULL    |                |
 * | component | varchar(255) | YES  |     | NULL    |                |
 * | type      | int(5)       | NO   |     | NULL    |                |
 * | orderNum  | int(11)      | YES  |     | NULL    |                |
 * | updated
 */
public class SysMenuInfo {
    private Integer id;
    private Integer parent_id;
    private String name;
    private String path;
    private String perms;
    private String component;
    private int type;
    private int orderNum;

    private List<SysMenuInfo> Children = new ArrayList<>();

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParent_id() {
        return parent_id;
    }

    public void setParent_id(Integer parent_id) {
        this.parent_id = parent_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getPerms() {
        return perms;
    }

    public void setPerms(String perms) {
        this.perms = perms;
    }

    public String getComponent() {
        return component;
    }

    public void setComponent(String component) {
        this.component = component;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(int orderNum) {
        this.orderNum = orderNum;
    }

    public List<SysMenuInfo> getChildren() {
        return Children;
    }

    public void setChildren(List<SysMenuInfo> children) {
        Children = children;
    }
}
